package com.huacai.blog.domain;

import com.huacai.common.annotation.Excel;
import lombok.*;
import com.huacai.common.core.domain.BaseEntity;

/**
 *  博客对象 blog
 *
 * @author zou
 * @date 2025-05-22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Blog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  博客 ID */
    private String blogId;

    /**  标题  */
    @Excel(name = " 标题 ")
    private String title;

    /**  封面  */
    @Excel(name = " 封面 ")
    private String cover;

    /**  内容  */
    @Excel(name = " 内容 ")
    private String content;

    /**  类别  */
    @Excel(name = " 类别 ")
    private String category;

    /**  观看量  */
    @Excel(name = " 观看量 ")
    private Long views;

    /**  创建用户 ID */
    @Excel(name = " 创建用户 ID")
    private Long userId;

    //创建人
    @Excel(name = "创建人")
    private String nickName;

    //点赞数
    private int blogLikeCount;

    //收藏数
    private int collectCount;

    //评论数
    private int commentCount;


}
